<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>数组的基本操作</title>
	</head>
	<body>
		<script type="text/javascript">
			var unm=[1,2,3,4,5,6,7,8,9];//创建一个数组;
			unm[9]=10;  //使用【】制定一个下标；
			document.write(unm); 
			document.write("<hr color='red' />");
			/*这是改变或者添加数组*/
			
			var num1=[1,2,3,4,5,6];
			delete num1[2];
			document.write(num1);
		</script>
	</body>
</html>
